<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %>
<fmt:setLocale value="${currentLocale}"/>
<fmt:setBundle basename="messages"/>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link type="text/css" rel="stylesheet" href="../style/style.css">
<title><fmt:message key="admin.title"/></title>
</head>
<body>
<%@ include file="../simple/navbar.jsp"%>
<%@ include file="../simple/filters.jsp"%>

<div class="content">
<h1><fmt:message key="admin.title"/></h1>

<ul>
<li><a href="../admin/upload.html"><fmt:message key="upload.title"/></a></li>
<li><a href="../admin/list-media.html"><fmt:message key="listmedia.title"/></a></li>
</ul>

<hr />
<div>
<form action="../admin/remove-all.html" method="POST">
<input type="submit" value="Clean the datastore"/> 
</form>
</div>

<%
out.println("<p>" + request.getHeader("Accept-Language") + "</p>");

%>

</div>
</body>
</html>